package com.han.remote;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "service2")
public interface Service2Client {

    @RequestMapping(method = RequestMethod.GET, path = "/hi/sy")
    String getHi();

}
